package com.frxuexi.shop2307

import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import com.alibaba.android.arouter.facade.annotation.Route
import com.frxuexi.lib_base.mvvm.BaseViewActivity
import com.frxuexi.shop2307.databinding.ActivityWebViewBinding
import com.tencent.smtt.sdk.WebChromeClient
import com.tencent.smtt.sdk.WebViewClient

@Route(path = "/app/WebViewActivity")
class WebViewActivity : BaseViewActivity<ActivityWebViewBinding>() {
    override fun initData() {

    }

    override fun initView() {
        binding.webview.apply {
            loadUrl("http://www.baidu.com")
            webViewClient=object :WebViewClient(){}
            webChromeClient=object :WebChromeClient(){  }
        }
    }

}